#include<iostream>
using namespace std;

int main() {
   int x=3, y=2, z=1;
   cout<<(x<y)<<endl;
   cout<<(y<z)<<endl;
   cout<<((x<y)<z)<<endl;
   cout<<(x<(y<z))<<endl;
   cout<<(x<y<z)<<endl; //same as ((x<y)<z) 
   return 0;
}
